@import '../constant.less';
@inputMargin: 12px;

.container {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-top: 1vh;
  padding-left: 10px;
  overflow: hidden;
  border: @containerBorderWidth solid var(--ant-cus-bd_default);
  border-radius: @containerBorderRadis;

  :global {
    .ant-input-group-compact {
      width: auto;
    }
  }
}

.price {
  margin-right: @inputMargin !important;
  color: var(--ant-cus-font_a85);
  font-weight: 400;
  font-size: 14px;
}

.divider {
  display: inline-block;
  margin-right: @inputMargin !important;
  margin-left: @inputMargin;
  color: var(--ant-cus-bd_default);
  font-size: 20px;
  line-height: 20px;
}

.calculate {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: @inputMargin;
  font-weight: 500;
  font-size: 15px;
  font-family: 'PingFang SC';
  background-color: var(--ant-cus-bg2_a20);
  button[disabled] {
    border: none;
  }
  button {
    height: 100%;
  }
  // button[disabled]:hover {
  //   border: none;
  // }
}
